Every time you plot, you could just randomly select the color: % Create a random RGB color color = rand(1,3); % Plot as many times as needed ... ... <看更多>
Search
Search
Every time you plot, you could just randomly select the color: % Create a random RGB color color = rand(1,3); % Plot as many times as needed ... ... <看更多>
Good Colors to Use Lighter ... Nice ligher colors to use in matlab. ... blue = [114 147 203]./255;. red = [211 94 96]./255;. black = [128 133 133]./255;. green = [ ... ... <看更多>
... <看更多>
lh1 = plot(ranks, mses);. %% color : r|g|b|c|m|y|k|w|[.49 1 .63]. set(lh1, 'Color', colors{mod(lc-1,length(colors))+1});. %% line : -|--|:|-. ... <看更多>